/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework.demo02;


import homework.demo02.Person02;

/**
 *
 * @author Administrator
 */
public class PersonTest {
    public static void main(String[] args) {
        Person02 p1 = new Person02("张三","0771-2085011","长岗大道98号");
        Person02 p2 = new Person02("李四","0771-2085012","长岗大道98号");
        Person02 p3 = new Person02("王五","0771-2085013","长岗大道98号");
        
        
        Person02 list = new Person02();
        Person02.add(p1);
        Person02.add(p2);
        Person02.add(p3);
        
        
        System.out.println("ArrayList 的元素是:");
        System.out.println(list);
        
        
       
    }
}